const express = require('express')

const stuController = require('./controllers/stu')
const app = express()
app.get('/', (req, res) => {
	res.end('hello world')

})
// const
// 	app.post('/stu')

const rootPath = process.cwd()
console.log(process.cwd());


app.post('/list', stuController.getList)
app.listen(3000, () => {
	console.log('listening...');
})
